package com.artifact.mit.mypoint.fragment.app;

import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.artifact.mit.mypoint.R;
import com.artifact.mit.mypoint.service.async.NewsAsync;

public class NewsFragment extends ListFragment {
	
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		return inflater.inflate(R.layout.promo_list, null);
	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);		
		
		new NewsAsync(getActivity(), getListView(), false).execute("");
	}
}
